package com.java.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author caiyuan
 * @version 1.0
 * @Date 2020/6/24 11:29 Dream-Seeker
 * @Description
 */
public class PsLineInfo {
    private Integer id;
    private String lineCode;
    private String lineName;
    private double lineLength;
    private double backLength;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date productDate;
    private String voltageLevel;
    private Integer startPole;
    private String startPoleCode;
    private Integer endPole;
    private String endPoleCode;
    private Integer towerBaseNum;
    private String maintenanceCompany;
    private Integer runningStatus;
    private String runningStatusName;
    private String common;
    private Integer isStart;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date creationTime;
    private String createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastUpdateTime;



    public PsLineInfo() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLineCode() {
        return lineCode;
    }

    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public double getLineLength() {
        return lineLength;
    }

    public void setLineLength(double lineLength) {
        this.lineLength = lineLength;
    }

    public double getBackLength() {
        return backLength;
    }

    public void setBackLength(double backLength) {
        this.backLength = backLength;
    }

    public Date getProductDate() {
        return productDate;
    }

    public void setProductDate(Date productDate) {
        this.productDate = productDate;
    }

    public String getVoltageLevel() {
        return voltageLevel;
    }

    public void setVoltageLevel(String voltageLevel) {
        this.voltageLevel = voltageLevel;
    }

    public Integer getStartPole() {
        return startPole;
    }

    public void setStartPole(Integer startPole) {
        this.startPole = startPole;
    }

    public String getStartPoleCode() {
        return startPoleCode;
    }

    public void setStartPoleCode(String startPoleCode) {
        this.startPoleCode = startPoleCode;
    }

    public Integer getEndPole() {
        return endPole;
    }

    public void setEndPole(Integer endPole) {
        this.endPole = endPole;
    }

    public String getEndPoleCode() {
        return endPoleCode;
    }

    public void setEndPoleCode(String endPoleCode) {
        this.endPoleCode = endPoleCode;
    }

    public Integer getTowerBaseNum() {
        return towerBaseNum;
    }

    public void setTowerBaseNum(Integer towerBaseNum) {
        this.towerBaseNum = towerBaseNum;
    }

    public String getMaintenanceCompany() {
        return maintenanceCompany;
    }

    public void setMaintenanceCompany(String maintenanceCompany) {
        this.maintenanceCompany = maintenanceCompany;
    }

    public Integer getRunningStatus() {
        return runningStatus;
    }

    public void setRunningStatus(Integer runningStatus) {
        this.runningStatus = runningStatus;
    }

    public String getRunningStatusName() {
        return runningStatusName;
    }

    public void setRunningStatusName(String runningStatusName) {
        this.runningStatusName = runningStatusName;
    }

    public String getCommon() {
        return common;
    }

    public void setCommon(String common) {
        this.common = common;
    }

    public Integer getIsStart() {
        return isStart;
    }

    public void setIsStart(Integer isStart) {
        this.isStart = isStart;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }


}
